﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using twlib;

namespace TeamWork_Client
{
    public enum UserPriviledges
    {
        CanUpload = 0x1A,
        CanDownload = 0x2A,
        CanModify = 0x3A,
        CanAccessRCon = 0x1B,
        FollowerSeeCode = 0x1C,
        FollowerSeeMedia = 0x2C,
        DesignerUpload = 0x1D,
        DesignerDownload = 0x2D
    }

    public class UserDetails
    {
        public int ID;
        public string Username;
        public string Password;
        public string Role;

        public List<UserPriviledges> Priviledges = new List<UserPriviledges>()
        {
            UserPriviledges.FollowerSeeCode, UserPriviledges.FollowerSeeMedia
        };
    }
}
